package com.haierp.mapper;

import java.util.List;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.model.Seller;
import com.haierp.model.SellerType;
import com.haierp.vo.SellerQueryVO;

/**
 * 
 * Title: SellerMapper.java
 * Description: Seller data controller
 *
 * @author jc
 * Mar 18, 2017
 *
 */

public interface SellerMapper extends AutoMapper<Seller> {

	Integer querySellersCount(SellerQueryVO sellerQueryVO);
	
	List<Seller> querySellers(SellerQueryVO sellerQueryVO);
	
	void updateSellerTypeByTypeCode(SellerType sellerType);
	
	Integer querySaleCountInOrder(Long salesId);
	
	List<Seller> querySellersAll();
}
